package com.cloud.api.domain.report;

import com.baomidou.mybatisplus.annotation.TableField;
import com.cloud.api.utils.ExcelUtils;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author 杨斌
 * 2025-01-2025-01-15
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ExcelUtils.ExcelSheet(watermark = @ExcelUtils.Watermark(type = 0)
)
@Schema(description = "报表离线车辆导出数据")
public class VehicleOffline implements Serializable{
    @Schema(description = "vin")
    @TableField("vin")
    @ExcelUtils.ExcelExport(name = "table.field.vin")
    private String vin;

    @Schema(description = "离线日期")
    @TableField("op_time")
    @ExcelUtils.ExcelExport(name = "table.field.OfflineDate",columnWidth = 18)
    private String opTime;

    @Schema(description = "持续未上线天数")
    @TableField("off_date")
    @ExcelUtils.ExcelExport(name = "table.field.offlineDates",columnWidth = 18)
    private String offDate;

    @Schema(description = "生产年份")
    @TableField("production_date")
    @ExcelUtils.ExcelExport(name = "table.field.productionYear",columnWidth = 18)
    private String productionDate;

    @Schema(description = "公告型号")
    @TableField("notice_model")
    @ExcelUtils.ExcelExport(name = "table.field.noticeModel",columnWidth = 18)
    private String noticeModel;




}
